<{strip}>

<{foreach item=topic from=$block.topics}>

  <div class="itemHead">
    <span class="itemTitle"><a href="<{$block.myurl}>/index.php?storytopic=<{$topic.id}>"><{$topic.title}></a></span>
  </div>

  <{if $topic.fullstories}>

    <{assign var="lang_postedby" value=$block.lang_postedby}>
    <{assign var="lang_on" value=$block.lang_on}>
    <{assign var="lang_reads" value=$block.lang_reads}>
    <{assign var="lang_readmore" value=$block.lang_readmore}>
    <{assign var="myurl" value=$block.myurl}>

    <{foreach item=story from=$topic.fullstories}>
      <{include file="db:bulletin2_item.html" story=$story}>
      <br />
    <{/foreach}>

  <{/if}>


  <{if $topic.stories}>

    <table style="border:0px">
      <tr>
        <td style="width:80px;">
          <{if $topic.topic_url}>
            <a href="<{$block.myurl}>/index.php?storytopic=<{$topic.id}>"><img src="<{$topic.topic_url}>" alt="<{$topic.title}>" hspace="10" vspace="10" /></a>
          <{/if}>
        </td>
        <td>
          <ul>
            <{foreach item=story from=$topic.stories}>
              <li><a href="<{$block.myurl}>/article.php?storyid=<{$story.id}>"><{$story.title}></a>
              <{if $block.type == "published"}>
                &nbsp;(<{$story.date}>)
              <{else}>
                &nbsp;(<{$story.hits}>)
              <{/if}>
              </li>
            <{/foreach}>
          </ul>
        </td>
      </tr>
    </table>
  <{/if}>

  <{if $topic.morelink}>
    <div style="text-align:right">
      <span class="itemPermaLink"><a href="<{$block.myurl}>/index.php?storytopic=<{$topic.id}>"><{$block.lang_morelink}></a></span>
    </div>
  <{/if}>

<{/foreach}>

<{/strip}>